var http = require('../../../utils/httpHelper.js')
var api = require('../../../utils/api.js')

function messageGet(data, callBack) {
  http.post(api.message_url, data, function (res) {
    // console.log(res)
    if (res.code == "200"){
      callBack(res.data);
    }
  });
}

module.exports = {
  messageGet: messageGet,
};